package com.dw.model.article.entitys;


import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import org.dromara.easyes.annotation.IndexField;
import org.dromara.easyes.annotation.IndexName;
import org.dromara.easyes.annotation.rely.Analyzer;
import org.dromara.easyes.annotation.rely.FieldType;

import java.io.Serializable;
import java.util.Date;

/**
 * 评论信息表(CommentInfo)表实体类
 *
 * @author makejava
 * @since 2024-10-14 16:31:06
 */
@Data
@IndexName("comment_info")
public class CommentInfo implements Serializable {
//主键
    private Long leiId;
    // 文章id
    private Long articleId;
    // 评论携带的图片
    private String imgUrl;
//评论内容
    @IndexField(fieldType = FieldType.KEYWORD, analyzer = Analyzer.IK_SMART)
    private String commentContent;
//创建人
    private Long createdBy;
//修改人
    private Long updatedBy;
//创建时间
    private Date createdTime;
//修改时间
    private Date updatedTime;
//逻辑删除
    private Integer isDeleted;

}

